function SceneScene3(options) {
	this.options = options;
	

}



SceneScene3.prototype.initialize = function () {
	alert("SceneScene3.initialize()");
	// this function will be called only once when the scene manager show this scene first time
	// initialize the scene controls and styles, and initialize your variables here 
	// scene HTML and CSS will be loaded before this function is called
	$('#svecButton_N77A').sfButton({text:'Film', width:'120px'});
	$('#svecButton_Q633').sfButton({text:'Serial', width:'120px'});
	
    //alert('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'+document.getElementById('svecButton_N77A').offsetWidth);
    //alert('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'+document.getElementById('svecButton_Q633').style.width);
    
    this.container = GlobalContainer[0];
    this.buttonContainer = new UserControlGroup('buttons UCG',2,2);
    var clb4 = new SettingsTypeBtnClb('Scene4');
    var clb5 = new SettingsTypeBtnClb('Scene5');
    var btn1 = new ButtonUserControl($('#svecButton_N77A'),clb4);
    var btn2 = new ButtonUserControl($('#svecButton_Q633'),clb5);
    btn1.handleInput = BtnDisabledUpDownArrows;
    btn2.handleInput = BtnDisabledUpDownArrows;
    this.buttonContainer.registerObject(btn1,0,0);
    this.buttonContainer.registerObject(btn2,0,1);
    alert('Registering buttons to ' + this.container.logger.name);
    this.container.registerObject(this.buttonContainer,0,1);
	//cop = copyElementById('svecButton_Q633');
	//document.getElementById('#svecButton_Q633').style.width = 200;
    
    // var sce = document.getElementById('SceneScene3');
    
	fixButton('svecButton_N77A');		// buttons loose their style, fixing
	fixButton('svecButton_Q633');
    
}




SceneScene3.prototype.handleShow = function () {
	alert("SceneScene3.handleShow()");
	// this function will be called when the scene manager show this scene 
}

SceneScene3.prototype.handleHide = function () {
	alert("SceneScene3.handleHide()");
	// this function will be called when the scene manager hide this scene  
}

SceneScene3.prototype.handleFocus = function () {
	alert("SceneScene3.handleFocus()");
	// this function will be called when the scene manager focus this scene
}

SceneScene3.prototype.handleBlur = function () {
	alert("SceneScene3.handleBlur()");
	// this function will be called when the scene manager move focus to another scene from this scene
}

SceneScene3.prototype.handleKeyDown = function (keyCode) {
	alert("SceneScene3.handleKeyDown(" + keyCode + ")");
	// TODO : write an key event handler when this scene get focued
	  if(this.container != null)
        this.container.handleInput(keyCode);
}
